Bar chart Grow effect (changing every 3 seconds)

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.bar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="900" height="250">
    [No canvas support]
</canvas>
This is the code that generates the chart:
<script>
    bar = new RGraph.Bar({
        id: 'cvs',
        data: [4,8,6,3,1,2,5],
        options: {
            textSize: 16,
            textAccessible: true,
            labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
            shadowBlur: 0,
            shadowOffsetx: 2,
            shadowOffsety: 2,
            strokestyle: 'rgba(0,0,0,0)',
            backgroundGridVlines: false,
            backgroundGridBorder: false,
            noxaxis: true,
            colors: ['Gradient(#d0d:#303)']
        }
    }).grow();
    
    setInterval(function ()
    {
        var data = RGraph.random.array(7, 0, 10);

        bar.grow({data: data});
    }, 3000);
</script>